cmake_minimum_required(VERSION 3.20)

project(GpuX VERSION 1.0.0 LANGUAGES CXX)

option(ENABLE_EXAMPLE "Enable examples of GpuX." OFF)

set(CMAKE_CXX_STANDARD 20)

add_subdirectory(src)

if (ENABLE_EXAMPLE)
add_subdirectory(examples)
endif()
